import {POST} from "/@/utils/request";
import {GET} from "/@/utils/request";
import {INTERFACE_URL} from "/@/config/inteface";

// 登录
export const loginApi = (params) => {
	return POST(INTERFACE_URL.loginApi, params)
}

// 用户中心
export const userApi = (params) => {
	return GET(INTERFACE_URL.userApi, params)
}


// 巡检
export const inspectApi = (params) => {
	return GET(INTERFACE_URL.inspectApi, params)
}